<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class SpecItem extends Model
{
    protected $fillable = ['item', 'spec_id'];

    protected $hidden = ['created_at', 'updated_at'];

    public function spec()
    {
        return $this->belongsTo('App\Spec');
    }
}
